<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ page import="jt.classic.system.user.IUser"%>
<%@ page import="jt.classic.system.ISystem"%>	
<%@ page import="jt.classic.system.wordbook.WordBookUtil" %>
<% 
    String context = jt.classic.system.ISystem.getContextPath();
	StringBuffer uploadContext = new StringBuffer("http://");
	uploadContext.append(request.getHeader("Host"));
	uploadContext.append(context);
	
	IUser user = ISystem.getSessionUser(request);
	
	ISystem.createSessionObject(request, "license", "dms100.lic");
	
	String fileext = WordBookUtil.getWordBookItemName("fileeditonline", "ext");
	
	String dlfilesize = WordBookUtil.getWordBookItemName("downloadfilesize", "max");
%>
<html>
<head>
<title>DMS (Basic Version 1.0.0)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script>
     var uploadContext = "<%=uploadContext%>";
     var isAdmin = <%=((user != null && ISystem.isAdmin(user)) ? "true" : "false")%>
     var filetypes = '<%=fileext%>';
     var dlfilesize = <%=dlfilesize%>;
</script>
 
 <jsp:include page="../head.jsp"></jsp:include>
 <link rel="stylesheet" type="text/css" href="<%=context%>/app/dms/layout-browser.css">
 <link rel="stylesheet" type="text/css" href="<%=context%>/app/dms/css/toolbars.css">


<!-- extensions -->
	<!-- page specific -->
    <script type="text/javascript" src="<%=context%>/app/dms/js/grid.js"></script>
    <script type="text/javascript" src="<%=context%>/app/dms/js/tree.js"></script>
    <!-- 共享文档结构树 -->
    <script type="text/javascript" src="<%=context%>/app/dms/js/sharedtree.js"></script>
    <script type="text/javascript" src="<%=context%>/app/dms/js/menu.js"></script>
	<script type="text/javascript" src="<%=context%>/app/dms/js/layout.js"></script>
	<script type="text/javascript" src="<%=context%>/app/dms/js/TreeCheckNodeUI.js"></script>
	<script type="text/javascript" src="<%=context%>/app/dms/js/fileInfo.js"></script>
	<!-- 共享设置 -->
	<script type="text/javascript" src="<%=context%>/app/dms/js/sharedset.js"></script>
	<!-- 文件夹共享设置 -->
	<script type="text/javascript" src="<%=context%>/app/dms/js/purviewlist4folder.js"></script>
	<!-- 混合共享设置 -->
	<script type="text/javascript" src="<%=context%>/app/dms/js/purviewlist4remix.js"></script>
	<!-- 高级查询 -->
	<script type="text/javascript" src="<%=context%>/app/dms/js/Squery.js"></script>
	<script type="text/javascript" src="<%=context%>/app/dms/js/editAttribute.js"></script>
    <!-- purview list -->
	<link rel="StyleSheet" href="<%=context%>/system/purview/css/purviewmanage.css" type="text/css" />
	<link rel="StyleSheet" href="<%=context%>/system/group/css/groupmanage.css" type="text/css" />	
	<script src="<%=context%>/system/purview/js/purviewlistmulti4tab.js"></script>
	<script src="<%=context%>/system/purview/js/purviewobjselect.js"></script>
	<script src="<%=context%>/system/wordbook/js/wblist.js"></script>
	<script src="<%=context%>/system/wordbook/js/wbstore.js"></script>
</head>
<body>
<form name="form1" method="post" action=""></form>
<iframe width="0" height="0" id="dmsdldfrm" src="<%=context %>/system/blank.jsp"></iframe>
</body>
</html>	